package com.taoyun.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lkxicy
 * @since 2020-09-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "file")//指定表名
public class File implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "File_Id", type = IdType.AUTO)
    private Integer fileId;

    @TableField("Obsobject_Name")
    private String obsobjectName;

    @TableField("Path")
    private String Path;

    @TableField("File_Name")
    private String fileName;

    @TableField("Path_Name")
    private String pathName;

    @TableField("Author")
    private String Author;

    @TableField("SharePath")
    private String SharePath;

    @TableField("DeleteLogo")
    private String DeleteLogo;

    @TableField("CreateTime")
    private Date CreateTime;

    @TableField("FileType")
    private String FileType;

    @TableField("L_MTime")
    private Date lMtime;

    @TableField("FileSize")
    private Integer FileSize;

/*    public File(int file_id, String obsojectName, String path, String file_name, String path_name, String author, String sharePath, int i, Date creatTime, String fileType, Object o, int fileSize) {
    }*/

    public File(Integer fileId, String obsobjectName, String path, String fileName, String pathName, String author, String sharePath, String deleteLogo, Date createTime, String fileType, Date lMtime, Integer fileSize) {
        this.fileId = fileId;
        this.obsobjectName = obsobjectName;
        Path = path;
        this.fileName = fileName;
        this.pathName = pathName;
        Author = author;
        SharePath = sharePath;
        DeleteLogo = deleteLogo;
        CreateTime = createTime;
        FileType = fileType;
        FileSize = fileSize;
    }

    public File(String obsobjectName, String path, String fileName, String pathName, String author, String sharePath,
                String deleteLogo, Date createTime, String fileType, Integer fileSize) {
        this.obsobjectName = obsobjectName;
        Path = path;
        this.fileName = fileName;
        this.pathName = pathName;
        Author = author;
        SharePath = sharePath;
        DeleteLogo = deleteLogo;
        CreateTime = createTime;
        FileType = fileType;
        this.lMtime = lMtime;
        FileSize = fileSize;
    }

    public File() {

    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getObsobjectName() {
        return obsobjectName;
    }

    public void setObsobjectName(String obsobjectName) {
        this.obsobjectName = obsobjectName;
    }

    public String getPath() {
        return Path;
    }

    public void setPath(String path) {
        Path = path;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getPathName() {
        return pathName;
    }

    public void setPathName(String pathName) {
        this.pathName = pathName;
    }

    public String getAuthor() {
        return Author;
    }

    public void setAuthor(String author) {
        Author = author;
    }

    public String getSharePath() {
        return SharePath;
    }

    public void setSharePath(String sharePath) {
        SharePath = sharePath;
    }

    public String getDeleteLogo() {
        return DeleteLogo;
    }

    public void setDeleteLogo(String deleteLogo) {
        DeleteLogo = deleteLogo;
    }

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    public String getFileType() {
        return FileType;
    }

    public void setFileType(String fileType) {
        FileType = fileType;
    }

    public Date getlMtime() {
        return lMtime;
    }

    public void setlMtime(Date lMtime) {
        this.lMtime = lMtime;
    }

    public Integer getFileSize() {
        return FileSize;
    }

    public void setFileSize(Integer fileSize) {
        FileSize = fileSize;
    }
}
